/*
 * RtpUnPack.cpp
 *
 *  Created on: 2012-2-19
 *      Author: zgx
 */

#include "RtpUnPack.h"

void RtpUnPack::test(){

	//使用范例
	int hr;
	RtpUnPack unpack(hr);
	unsigned char *pRtpData;
	unsigned short inSize;
	int outSize;
	unsigned char *pFrame = unpack.Parse_RTP_Packet(pRtpData, inSize, &outSize, NULL);
	if ( pFrame != NULL )
	{
		// frame process
		// ...
	}

}
